<template>
	<view class="error_box">
		<view class="error_box_gou">
			<image src="../../static/service/success1.png" mode=""></image>
		</view>

		<view class="error_box_text" v-if="success">
			注册成功
		</view>
		<view class="define" @click="define()">去登录</view>
		<!-- <u-button type="primary" class="define" @click="define()">去登录</u-button> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				success: true
			};
		},

		methods: {
			//下一步
			define() {
				uni.navigateTo({
					url: "/pages/login/index"
				})
			}
		},





	}
</script>

<style lang="scss" scoped>
	.error_box {

		// 图片
		.error_box_gou {
			padding-top: 297rpx;
			text-align: center;

			image {
				width: 108rpx;
				height: 108rpx;
			}


		}

		// 文字
		.error_box_text {
			text-align: center;
			margin-top: 41rpx;
			font-size: 40rpx;
			font-family: PingFangSC-Medium, PingFang SC;
			font-weight: 500;
			color: #333333;
			line-height: 56rpx;
		}



		// 确定
		.define {
			margin: 0 auto;
			width: 622rpx;
			height: 104rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			background: #2370FC;
			box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(35, 112, 252, 0.33);
			border-radius: 24rpx;
			margin-top: 24rpx;
			font-size: 32rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #FFFFFF;
			line-height: 45rpx;
		}


	}
</style>